.navigator{
    display: flex;
    justify-content: space-around;
    height: 40px;
    line-height: 40px;
}
.car{
    display:flex;
    width: 95%;
    height: 150px;
    margin-left:10px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.car-img{
    width: 35%;
    height: 120px;
    margin-top: 15px;
    border-radius: 3px;
    margin-left:8px;
}
.car-content{
    font-size: 12px;
    color: rgb(163, 163, 163);
    margin: 0;
}

.car-span{
    font-size: 18px;
    color: #e74c3c;
    /* margin: 0; */
    font-weight: 700;
}
.car-span2{
    font-size: 14px;
    color: gray;
    /* margin: 0; */
    /* font-weight: 700; */
}

.cart-page {
  min-height: 100vh;
  background-color: #f7f8fa;
  padding-bottom: 50px;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: #fff;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cart-header h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.cart-content {
  padding: 12px;
}

.cart-item {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.item-main {
  display: flex;
  padding: 12px;
  align-items: flex-start;
}

.item-image {
  width: 80px;
  height: 80px;
  margin: 0 12px;
  border-radius: 4px;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: #323233;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-desc {
  margin: 0 0 8px;
  font-size: 12px;
  color: #969799;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-price {
  font-size: 16px;
  font-weight: 600;
  color: #ee0a24;
}

.item-footer {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px;
  border-top: 1px solid #f5f5f5;
}

.cart-submit {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* 响应式调整 */
@media screen and (max-width: 360px) {
  .cart-content {
    padding: 8px;
  }

  .item-image {
    width: 70px;
    height: 70px;
    margin: 0 8px;
  }

  .item-title {
    font-size: 13px;
  }

  .item-desc {
    font-size: 11px;
  }

  .item-price {
    font-size: 14px;
  }
}